package com.weng.cloud.service8881.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

/**
 * @Author: weng
 * @Date: 2022/3/14
 * @Description: com.weng.cloud.service8881.mybatis.entity
 */
@Data
public class PlayerEntity {

    private String id;
    private Integer no;
    private String name;
    private Date time;

    public PlayerEntity(){}
    public PlayerEntity(Integer no,String name){
        this.no = no;
        this.name = name;
        this.time = new Date();
    }
}
